package com.leenmvc.core.security.entity.core;

import com.leenmvc.core.annotation.DbInfo;
import com.leenmvc.core.annotation.PrimaryKey;
import com.leenmvc.core.annotation.TableField;
import com.leenmvc.core.base.BaseEntity;

import java.util.List;

/**
 * @Author: JohnCoding
 * @Description:  前端配置页面的配置信息存储
 * @date: 2020/3/16 10:09
 */
@DbInfo(value = "sys_vue",comment = "前端页面配置信息")
public class SysVue extends BaseEntity {

    @PrimaryKey
    private Long id;

    private Long menuId;

    private String file;

    private String dir;

    private String settingData;

    private Integer isAdvancedSearch;

    private Integer isSearch;

    private Integer isAdd;

    private Integer isDelete;

    private Integer isUpdate;

    private String i18nTitle;

    @TableField(false)
    private List<SysVueData> i18n;

    @TableField(false)
    private String filePath;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    public String getFile() {
        return file;
    }

    public void setFile(String file) {
        this.file = file;
    }

    public String getDir() {
        return dir;
    }

    public void setDir(String dir) {
        this.dir = dir;
    }

    public String getSettingData() {
        return settingData;
    }

    public void setSettingData(String settingData) {
        this.settingData = settingData;
    }

    public Integer getIsAdvancedSearch() {
        return isAdvancedSearch;
    }

    public void setIsAdvancedSearch(Integer isAdvancedSearch) {
        this.isAdvancedSearch = isAdvancedSearch;
    }

    public Integer getIsSearch() {
        return isSearch;
    }

    public void setIsSearch(Integer isSearch) {
        this.isSearch = isSearch;
    }

    public Integer getIsAdd() {
        return isAdd;
    }

    public void setIsAdd(Integer isAdd) {
        this.isAdd = isAdd;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getIsUpdate() {
        return isUpdate;
    }

    public void setIsUpdate(Integer isUpdate) {
        this.isUpdate = isUpdate;
    }

    public String getI18nTitle() {
        return i18nTitle;
    }

    public void setI18nTitle(String i18nTitle) {
        this.i18nTitle = i18nTitle;
    }

    public List<SysVueData> getI18n() {
        return i18n;
    }

    public void setI18n(List<SysVueData> i18n) {
        this.i18n = i18n;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }
}
